package com.wenlin.userservice.exception;

import java.io.Serializable;

/**
 * @author Tech-606
 */

public class ArgumentInvalidResult implements Serializable {
  private String field;
  private Object rejectedValue;
  private String defaultMessage;

  public ArgumentInvalidResult() {
  }

  public String getField() {
    return field;
  }

  public void setField(String field) {
    this.field = field;
  }

  public Object getRejectedValue() {
    return rejectedValue;
  }

  public void setRejectedValue(Object rejectedValue) {
    this.rejectedValue = rejectedValue;
  }

  public String getDefaultMessage() {
    return defaultMessage;
  }

  public void setDefaultMessage(String defaultMessage) {
    this.defaultMessage = defaultMessage;
  }

  @Override public String toString() {
    return "ArgumentInvalidResult{" +
        "field='" + field + '\'' +
        ", rejectedValue=" + rejectedValue +
        ", defaultMessage='" + defaultMessage + '\'' +
        '}';
  }
}
